1) Stop the TEMA service via the Windows services manager.
2) Backup and Delete your database configuration file: '<TEMA installation directory>\config\database.yml'
3) Start the TEMA service via the Windows services manager.
4) Access the TEMA web interface from the TEMA host server. You'll be able to re-enter your TEMA database connection info.